package com.cenxi.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import com.cenxi.common.base.BaseID;
import com.cenxi.common.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色菜单表
 * @TableName cx_role_menu
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="cx_role_menu_re")
@Data
public class RoleMenu extends BaseID {

    /**
     * 角色id
     */
    @TableField(value = "role_id")
    private Long roleId;

    /**
     * 菜单id
     */
    @TableField(value = "menu_id")
    private Long menuId;

}
